<script setup lang="ts">
import { RouterView } from 'vue-router'
import PhoneTemplate from './components/PhoneTemplate.vue'
</script>

<template>
  <PhoneTemplate>
    <RouterView />
  </PhoneTemplate>
</template>

<style>
/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
}

#app {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 引入Font Awesome图标 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
</style>